package com.bdqn.bookshop.mall;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : 罗若然[LUO_RUO_RAN]
 * @date : 2020-07-23 17:39
 **/
@Controller
@RequestMapping("/mall")
public class MallIndexController {

    @RequestMapping("{view}.html")
    public String index(@PathVariable("view") String view){
        return "mall/"+view;
    }

    public static void main(String[] args) {
        System.out.println(1111);
    }
}
